package com.hst.capacity.domain.model.entity.vehicle;


import com.hst.capacity.domain.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name = "vm_vehicle_license")//车辆资质表
public class VehicleLicenseEntity extends BaseEntity {

  @Id
  @GeneratedValue(generator = "gen_uuid")
  @GenericGenerator(name = "gen_uuid", strategy = "uuid")
  private String idVehicleLicense;
  private String idVehicle;
  private String authorizer;
  private String serviceRegion;
  private String licenseNo;
  private LocalDateTime avtiveDate;
  private LocalDateTime effectiveDate;
  private LocalDateTime expiryDate;
  private LocalDateTime certifyDate;
  private Integer serviceType;
  private String possessor;
  private String possessorAddress;
  private Integer licenseType;
  private String licensePhoto;

}
